home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 959 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.7 KB

  1. Date: Sun, 30 Jan 94 06:45:00 PST
  2. From: hyc@hanauma.jpl.nasa.gov (Howard Chu)
  3. Message-Id: <9401301445.AA03993@hanauma.jpl.nasa.gov>
  4. To: mint@atari.archive.umich.edu
  5. Subject: Falcon Bconmap fix
  6.  
  7. Here's a fix for the Falcon Bconmap bug. It's not quite perfect, since modem1
  8. doesn't exist on the Falcon. In TT terms, it only has modem2 and serial2...
  9. *** 1.2    1994/01/30 14:39:00
  10. --- main.c    1994/01/30 13:19:50
  11. ***************
  12. *** 740,746 ****
  13.       }
  14.   
  15. !     if (tosvers >= 0x0400 && tosvers <= 0x404)
  16. !         has_bconmap = 0;    /* Falcon BIOS Bconmap is busted */
  17. !     else
  18.   /* The TT TOS release notes are wrong... this is the real way to test
  19.    * for Bconmap ability
  20. --- 740,751 ----
  21.       }
  22.   
  23. !     if (tosvers >= 0x0400 && tosvers <= 0x404) {
  24. !         short *bconmap;
  25. !         bconmap = (short *)Bconmap(-2);
  26. !         if (bconmap[2] == 1) {    /* Falcon BIOS Bconmap is busted */
  27. !             bconmap[2] = 3;
  28. !         }
  29. !         has_bconmap = 1;
  30. !     } else {
  31.   /* The TT TOS release notes are wrong... this is the real way to test
  32.    * for Bconmap ability
  33. ***************
  34. *** 747,750 ****
  35. --- 752,756 ----
  36.    */
  37.           has_bconmap = (Bconmap(0) == 0);
  38. +     }
  39.   
  40.   /* initialize memory */
  41. *** 1.6    1994/01/30 12:47:00
  42. --- biosfs.c    1994/01/30 13:57:19
  43. ***************
  44. *** 193,198 ****
  45.               break;
  46.           }
  47. !     /* SERIAL2 is not present on the Mega STe */
  48. !         if (mch == MEGASTE && b->private == 8) {
  49.               b->next = 0;
  50.               break;
  51. --- 193,198 ----
  52.               break;
  53.           }
  54. !     /* SERIAL2 is not present on the Mega STe or the Falcon */
  55. !         if (mch != TT && b->private == 8) {
  56.               b->next = 0;
  57.               break;
  58. *** 1.1    1994/01/30 10:53:59
  59. --- mint.h    1994/01/30 10:54:26
  60. ***************
  61. *** 216,219 ****
  62. --- 216,220 ----
  63.   #define MEGASTE 0x00010010L
  64.   #define TT    0x00020000L
  65. + #define FALCON    0x00030000L
  66.   
  67.   extern long mch;
  68.